github.com/klauspost/compress/flate.huffmanEncoder.codes (field)
36 uses
github.com/klauspost/compress/flate (current package)
huffman_bit_writer.go#L165: b := w.offsetEncoding.codes
huffman_bit_writer.go#L174: b = w.literalEncoding.codes[256:literalCount]
huffman_bit_writer.go#L183: b = w.literalEncoding.codes[:len(a)]
huffman_bit_writer.go#L199: w.writeCode(w.literalEncoding.codes[endBlockMarker])
huffman_bit_writer.go#L281: cgnl[i] = litEnc.codes[i].len()
huffman_bit_writer.go#L286: cgnl[i] = offEnc.codes[i].len()
huffman_bit_writer.go#L472: value := uint(w.codegenEncoding.codes[codegenOrder[i]].len())
huffman_bit_writer.go#L483: w.writeCode(w.codegenEncoding.codes[codeWord])
huffman_bit_writer.go#L508: w.writeCode(w.literalEncoding.codes[endBlockMarker])
huffman_bit_writer.go#L537: w.writeCode(w.literalEncoding.codes[endBlockMarker])
huffman_bit_writer.go#L562: w.writeCode(w.literalEncoding.codes[endBlockMarker])
huffman_bit_writer.go#L612: w.writeTokens(tokens.Slice(), literalEncoding.codes, offsetEncoding.codes)
huffman_bit_writer.go#L633: w.writeCode(w.literalEncoding.codes[endBlockMarker])
huffman_bit_writer.go#L645: w.writeCode(w.literalEncoding.codes[endBlockMarker])
huffman_bit_writer.go#L665: newSize += int(w.literalEncoding.codes[endBlockMarker].len()) + newSize>>w.logNewTablePenalty
huffman_bit_writer.go#L674: w.writeCode(w.literalEncoding.codes[endBlockMarker])
huffman_bit_writer.go#L693: w.writeTokens(tokens.Slice(), fixedLiteralEncoding.codes, fixedOffsetEncoding.codes)
huffman_bit_writer.go#L740: w.writeTokens(tokens.Slice(), fixedLiteralEncoding.codes, fixedOffsetEncoding.codes)
huffman_bit_writer.go#L764: w.writeTokens(tokens.Slice(), w.literalEncoding.codes, w.offsetEncoding.codes)
huffman_bit_writer.go#L1063: w.writeCode(w.literalEncoding.codes[endBlockMarker])
huffman_bit_writer.go#L1090: encoding := w.literalEncoding.codes[:256]
huffman_bit_writer.go#L1170: w.writeCode(w.literalEncoding.codes[endBlockMarker])
huffman_code.go#L34: codes []hcode
huffman_code.go#L86: return &huffmanEncoder{codes: make([]hcode, size, 1<<c)}
huffman_code.go#L92: codes := h.codes
huffman_code.go#L122: codes := h.codes
huffman_code.go#L136: total += int(f) * int(h.codes[i].len())
huffman_code.go#L145: total += int(h.codes[f].len())
huffman_code.go#L155: code := h.codes[i]
huffman_code.go#L328: h.codes[node.literal] = newhcode(reverseBits(code, uint8(n)), uint8(n))
huffman_code.go#L341: codes := h.codes[:len(freq)]
huffman_code.go#L361: h.codes[node.literal].set(uint16(i), 1)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |